package com.leancloud.circle.adapter;

import com.avos.avoscloud.AVObject;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;


public class ReasonAdapter extends BaseQuickAdapter<AVObject, BaseViewHolder> {

    private int position = 0;

    public ReasonAdapter(int layoutResId) {
        super(layoutResId);
    }

    public void setPosition(int position) {
        this.position = position;
    }

    @Override
    protected void convert(BaseViewHolder helper, AVObject item) {

//        helper.setText(R.id.discuss_details_item_name, nike);
//        helper.setText(R.id.discuss_details_item_reason, reason);
//
//        ImageView imageView = helper.itemView.findViewById(R.id.discuss_details_item_head);
//        GlideManager.loadRoundImg(headUrl, imageView, R.mipmap.ic_default_head);
//
//        if (position == 1) {
//            helper.itemView.setBackground(mContext.getResources().getDrawable(R.drawable.circle_bg_reason_true));
//        } else if (position == 3) {
//            helper.itemView.setBackground(mContext.getResources().getDrawable(R.drawable.circle_bg_reason_false));
//        }
    }
}
